package cn.qplanet.transaction.controller;

import cn.qplanet.transaction.service.MessageServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: gjq0117
 * @date: 2024/5/11 14:49
 * @description:
 */
@RestController
@RequestMapping("/test")
public class MessageController {

    @Autowired
    private MessageServiceImpl commonService;

    /**
     *  测试MQ发送消息超时请求
     */
    @GetMapping("/testMqSendMsg")
    public void testMqSendMsg() {
        commonService.testMqSendMsg();
    }
}
